<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Tar-based phars</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="phar.fileformat.comparison.html">Head-to-head comparison of Phar, Tar and Zip</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="phar.fileformat.zip.html">Zip-based phars</a></div>
 <div class="up"><a href="phar.fileformat.html">What makes a phar a phar and not a tar or a zip?</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="phar.fileformat.tar" class="section">
  <h2 class="title">Tar-based phars</h2>
  <p class="para">
   Archives based on the tar file format follow the more modern USTAR
   file format.  The design of the tar file header makes them more efficient
   to access than the zip file format, and almost as efficient as the phar
   file format.  File names are limited to 255 bytes, including
   full path within the phar archive.  There is no limit on the number of files
   within a tar-based phar archive.  These archives can fully compressed in
   gzip or bzip2 format and still be executed by the Phar extension.
  </p>
  <p class="para">
   To compress an entire archive, use <span class="function"><a href="phar.compress.html" class="function">Phar::compress()</a></span>.
   To decompress an entire archive, use <span class="function"><a href="phar.decompress.html" class="function">Phar::decompress()</a></span>.
  </p>
 </div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="phar.fileformat.comparison.html">Head-to-head comparison of Phar, Tar and Zip</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="phar.fileformat.zip.html">Zip-based phars</a></div>
 <div class="up"><a href="phar.fileformat.html">What makes a phar a phar and not a tar or a zip?</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>
